<template>
  <div class="login-main">
    <div class="login-head">
      <div class="row video-main">
        <div class="col-lg-12 col-md-12">
          <video class="head-video" src="http://cd.ray-live.cn/video/xiangxiang.mp4" poster="" autoplay="" loop="" muted=""></video>
        </div>
      </div>
    </div>
    <div class="container">
      <div class="row">
        <div class="col-lg-6 col-md-6 login-form-main">
          <div class="col-lg-3 col-md-3 login-logo">
            <img src="/src/assets/images/login_logo.png" alt="image">
          </div>
          <div class="login-form">
            <h2>请输入绑定邮箱</h2>
            <form>
              <div class="form-group">
                <input type="email" class="form-control" placeholder="请输入邮箱" v-model="email">
              </div>
              <button type="button" class="default-btn" @click="sendEmail">找回密码</button>
            </form>
          </div>
        </div>

      </div>
    </div>
  </div>

</template>


<script setup>
import {ref, reactive, onMounted} from "vue";
import axios from '@/plugins/axios.js'
let email = ref("")
function sendEmail(){
  axios.get("login/back/password",{mail:email.value}).then(result=>{
    console.log("发送成功")
  })
}
onMounted(() => {
});
</script>

<style scoped>

</style>